package com.swzl.mapper;

import com.swzl.bean.School;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 28124
 * @description 针对表【school】的数据库操作Mapper
 * @createDate 2024-11-03 11:33:13
 * @Entity com.swzl.bean.School
 */

@Mapper
public interface SchoolMapper extends BaseMapper<School> {

    /**
     * all list
     *
     * @return
     */
    List<School> allList();

    /**
     * 条件查询
     *
     * @param school
     * @return
     */
    List<School> selectBy(School school);
}




